<?php
/** @var ReclamoController $this */
/** @var Reclamo $model */
$this->breadcrumbs = array(
    'Reclamos' => array('index'),
    Yii::t('AweCrud.app', 'Manage'),
);

$this->menu = array(
    array('label' => Yii::t('AweCrud.app', 'List') . ' ' . Reclamo::label(2), 'icon' => 'list', 'url' => array('index')),
    array('label' => Yii::t('AweCrud.app', 'Create') . ' ' . Reclamo::label(), 'icon' => 'plus', 'url' => array('create')),
);
?>

<fieldset>
    <legend>
        <?php echo Yii::t('AweCrud.app', 'Manage') ?> <?php echo Reclamo::label(2) ?>    </legend>

    <?php echo CHtml::link('<i class="icon-search"></i> ' . Yii::t('AweCrud.app', 'Advanced Search'), '#', array('class' => 'search-button btn')) ?>

    <?php
    $this->widget('booster.widgets.TbGridView', array(
        'id' => 'reclamo-grid',
        'type' => 'striped condensed',
        'dataProvider' => $model->search(),
        'filter' => $model,
        'columns' => array(
            'id',
            'asunto',
            'detalle',
            'resolucion',
            'estado',
            'calificacion',
            array(
                'class' => 'booster.widgets.TbButtonColumn',
            ),
        ),
    ));
    ?>
</fieldset>